var render = function () {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c(
    "div",
    { staticClass: "isHeader red-wrap red-record" },
    [
      _c(
        "div",
        { staticClass: "headerWrap" },
        [_c("x-header", { staticClass: "header" }, [_vm._v("红包记录")])],
        1
      ),
      _vm._v(" "),
      _vm.loadingHttp
        ? _c(
            "scroll",
            {
              ref: "scroll",
              attrs: {
                data: _vm.historyList,
                pullUpLoad: _vm.pullUpLoad,
                pullDownRefresh: _vm.pullDownRefresh,
              },
              on: { pullingDown: _vm.pullingDown, pullingUp: _vm.pullingUp },
            },
            [
              _c("div", [
                _c(
                  "div",
                  { staticClass: "record-info" },
                  [
                    _c("datetime", {
                      staticClass: "view-date",
                      attrs: {
                        "min-year": _vm.thisYear - 2,
                        "max-year": _vm.thisYear - 0,
                        format: "YYYY",
                        "year-row": "{value}年",
                        "confirm-text": "完成",
                        "cancel-text": "取消",
                      },
                      model: {
                        value: _vm.thisYear,
                        callback: function ($$v) {
                          _vm.thisYear = $$v;
                        },
                        expression: "thisYear",
                      },
                    }),
                    _vm._v(" "),
                    _c("div", { staticClass: "red-avartar" }, [
                      _vm.redpacketCount.self_pic
                        ? _c("img", {
                            attrs: {
                              src: _vm.imgRequest + _vm.redpacketCount.self_pic,
                            },
                            on: { error: _vm.removePic },
                          })
                        : _c("img", {
                            attrs: {
                              src: require("@/assets/images/personalCenter/head_default.png"),
                            },
                          }),
                    ]),
                    _vm._v(" "),
                    _c("div", { staticClass: "money-info" }, [
                      _c("p", [_vm._v("共收到")]),
                      _vm._v(" "),
                      _c("h4", [
                        _vm._v(_vm._s(_vm.redpacketCount.all_gain_money)),
                      ]),
                    ]),
                    _vm._v(" "),
                    _c(
                      "div",
                      { staticClass: "red-statist text-gray clearfix" },
                      [
                        _c("ul", [
                          _c("li", [
                            _c("h5", [
                              _vm._v(
                                _vm._s(_vm.redpacketCount.gain_redpacket_num)
                              ),
                            ]),
                            _vm._v(" "),
                            _c("p", [_vm._v("收到红包")]),
                          ]),
                          _vm._v(" "),
                          _c("li", [
                            _c("h5", [
                              _vm._v(
                                _vm._s(_vm.redpacketCount.best_lucky_times)
                              ),
                            ]),
                            _vm._v(" "),
                            _c("p", [_vm._v("手气最佳")]),
                          ]),
                        ]),
                      ]
                    ),
                  ],
                  1
                ),
                _vm._v(" "),
                _vm.historyList.length > 0
                  ? _c(
                      "div",
                      { staticClass: "red-winner" },
                      _vm._l(_vm.historyList, function (item, index) {
                        return _c(
                          "dl",
                          { key: index },
                          [
                            _c(
                              "router-link",
                              {
                                attrs: {
                                  to: {
                                    path: "/redPacket/details",
                                    query: { redpacketId: item.redpacket_id },
                                  },
                                },
                              },
                              [
                                _c("dt", [
                                  item.redpacket_pic
                                    ? _c("img", {
                                        attrs: {
                                          src:
                                            _vm.imgRequest + item.redpacket_pic,
                                        },
                                        on: {
                                          error: function ($event) {
                                            _vm.removeImg(index);
                                          },
                                        },
                                      })
                                    : _c("img", {
                                        attrs: {
                                          src: require("@/assets/images/personalCenter/head_default.png"),
                                        },
                                      }),
                                ]),
                                _vm._v(" "),
                                _c("dd", [
                                  _c("p", [
                                    _vm._v(_vm._s(item.redpacket_title)),
                                  ]),
                                  _vm._v(" "),
                                  _c("p", [_vm._v(_vm._s(item.gain_date))]),
                                  _vm._v(" "),
                                  _c("span", { staticClass: "red-money" }, [
                                    _vm._v(_vm._s(item.user_gain_money)),
                                  ]),
                                ]),
                              ]
                            ),
                          ],
                          1
                        );
                      })
                    )
                  : _c("p", { staticClass: "noData" }, [_vm._v("暂无数据")]),
              ]),
            ]
          )
        : _vm._e(),
    ],
    1
  );
};
var staticRenderFns = [];
var esExports = { render: render, staticRenderFns: staticRenderFns };
export default esExports;

//////////////////
// WEBPACK FOOTER
// ./node_modules/_vue-loader@13.7.2@vue-loader/lib/template-compiler?{"id":"data-v-d18da414","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/_vux-loader@1.2.9@vux-loader/src/before-template-compiler-loader.js!./node_modules/_vux-loader@1.2.9@vux-loader/src/template-loader.js!./node_modules/_vue-loader@13.7.2@vue-loader/lib/selector.js?type=template&index=0!./src/components/redPacket/record.vue
// module id = null
// module chunks =
